package blogger.client.model.entity;

import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.rpc.IsSerializable;


/**
 * Created by IntelliJ IDEA.
 * User: mega
 * Date: 24.12.2009
 * Time: 10:08:45
 * To change this template use File | Settings | File Templates.
 */
public class UserDetails implements IsSerializable{

    private long id;

    private String name;

    private String sname;

    private String img;

    private String url;

    public UserDetails() {
    }

    public UserDetails(String name, String sname, String img, String url) {
        name = name;
        sname = sname;
        this.img = img;
        this.url = url;
    }

    public void setId(long id) {
        this.id = id;
    }

    public UserDetails(long id, String name, String sname, String img, String url) {

        this.id = id;
        this.name = name;
        this.sname = sname;
        this.img = img;
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String fname) {
        name = fname;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        sname = sname;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public long getId() {
        return id;
    }

}
